<?php
include_once('_PATH.php');
include_once( $_TEMPLATEPATH . "/header.php");

class FrontController{
	
	private $tiles;
	
	function __construct( & $_tilesController ){
		$this->tiles = & $_tilesController;
	}
	
	function execute(){
		$formMood = $this->tiles->entries['form.setMood'];
		include_once( $formMood );
		
		$panelUser = $this->tiles->entries['panel.user'];
		include_once( $panelUser );
	}
}

$frontControl = new FrontController( $tiles );
$frontControl->execute();

?>